package com.andy.qi.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix="room")
public class RoomServerConf {
    private String serverId;
    private String roomPriKey;
    private String clientIp;
    private int clientPort;
    
    private int httpPort;
    private int httpTickTime;
    
    private String hallIp;
    private int hallPort;
    
    public String getServerId() {
        return serverId;
    }
    public void setServerId(String serverId) {
        this.serverId = serverId;
    }
    public String getRoomPriKey() {
        return roomPriKey;
    }
    public void setRoomPriKey(String roomPriKey) {
        this.roomPriKey = roomPriKey;
    }
    public int getClientPort() {
        return clientPort;
    }
    public void setClientPort(int clientPort) {
        this.clientPort = clientPort;
    }
    public int getHttpTickTime() {
        return httpTickTime;
    }
    public void setHttpTickTime(int httpTickTime) {
        this.httpTickTime = httpTickTime;
    }
    public String getHallIp() {
        return hallIp;
    }
    public void setHallIp(String hallIp) {
        this.hallIp = hallIp;
    }
    public int getHallPort() {
        return hallPort;
    }
    public void setHallPort(int hallPort) {
        this.hallPort = hallPort;
    }
    public String getClientIp() {
        return clientIp;
    }
    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }
    public int getHttpPort() {
        return httpPort;
    }
    public void setHttpPort(int httpPort) {
        this.httpPort = httpPort;
    }
    
}